package com.aplink.generic.dialog;

import java.io.Serializable;

import com.aplink.generic.constant.type.ActionType;
import com.aplink.generic.constant.type.DialogButtonType;

public class DialogButton implements Serializable {
	private static final long serialVersionUID = 966344339990384153L;
	private boolean isFinishActivity;
	private boolean isLinkToNextPage;
	private ActionType mActionType;
	private String mMessage;
	private DialogButtonType mButtonType;

	public ActionType getActionType() {
		return this.mActionType;
	}

	public String getText() {
		return this.mMessage;
	}

	public boolean isFinishActivity() {
		return this.isFinishActivity;
	}

	public boolean isLinkToNextPage() {
		return this.isLinkToNextPage;
	}

	public void setActionType(final ActionType actionType) {
		this.mActionType = actionType;
	}

	public void setFinishActivity(final boolean isFinishActivity) {
		this.isFinishActivity = isFinishActivity;
	}

	public void setLinkToNextPage(final boolean isLinkToNextPage) {
		this.isLinkToNextPage = isLinkToNextPage;
	}

	public void setText(final String message) {
		this.mMessage = message;
	}

	public DialogButtonType getButtonType() {
		return mButtonType;
	}

	public void setButtonType(DialogButtonType buttonType) {
		mButtonType = buttonType;
	}

}
